import type { weatherResponse } from "@/types/baseTypes"
import Request from "../axios-request"

 class weatherApi {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  public axios: any
  constructor() {
    this.axios = new Request({url:import.meta.env.VITE_API_WEATHER_API})
  }
  public getWeather(): Promise<weatherResponse> {
    return this.axios.get(
      "/weather/3d?location=101210107&key=973010df4f004490a534292f209a3f75"
    )
  }
}

export default new weatherApi()
